<?php
class MenuItem {
	var $menuId;
	var $quantity;
	
	function __construct($menuId, $quantity) {
		$this->quantity = $quantity;
		$this->menuId = $menuId;
	}

	function  getMenuId() {
		return $this->menuId;
	}
	
	function getQuantity() {
		return $this->quantity;
	}
	
	function addQuantity($quantity){
		$this->quantity = $this->quantity + $quantity;
	}
	
	function setQuantity($quantity){
		$this->quantity = $quantity;
	}
}
?>